#ifndef GUI_H_INCLUDED
#define GUI_H_INCLUDED

    #include <iostream>
    #include <string>

    #include "conio.h"

    using namespace std;

    class UI{
        public:
            UI();                       //constructor
            ~UI();                      //destructor
            void set(string& prompt);    //sets the prompt data
            void update(string& prompt); //refreshes the prompt
            int awaitinput();           //wat for user input.
        private:
            int lenPrompt;              //the length of current prompt
            int lastlen;
            string strPrompt;
    };

#endif // GUI_H_INCLUDED
